package com.ssm.service;

import com.ssm.entity.Departmentname;

import java.util.List;

public interface DepartmentService {
    List<Departmentname> listAllDepartment();
    Integer createDepartment(Departmentname departmentname);
    Integer update(Departmentname departmentname);
    Integer deleteDepartment(int id);
    Departmentname getDepartment(int id);
    String  Departmentidtoname(int id);
    Departmentname nametoDepartment(String name);
}
